package com.yuerlive.rainbow.module.game.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.GameInfo;
import com.yuerlive.rainbow.entity.NiuniuHistory;
import com.yuerlive.rainbow.entity.StreamData;

import java.util.List;

/**
 * Created by xiaoyi on 2017/6/15.
 */

public interface GameContract {
    interface Presenter extends BasePresenter {
        void getGameHistory(String liveId,String gameId);

        void getGameInfo(String gameId);
    }

    interface View extends BaseView<Presenter> {
        void showHistoryResult(BaseData<List<NiuniuHistory>> results);

        void setGameInfo(GameInfo gameInfo);
    }
}
